package com.xxx.dict.mapper;

import com.xxx.dict.domain.Dict;
import com.xxx.dict.query.DictQuery;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DictMapper {

    Dict findOne(Long id);

    List<Dict> findAll();

    List<Dict> queryPage(DictQuery dictQuery);

    void addDict(Dict dict);
    void updateDict(Dict dict);
    void deleteDict(Long id);
    void batchDict(Long[] ids);

}
